const path = require('path');
const PrerenderSPAPlugin = require('prerender-spa-plugin');

module.exports = {
   publicPath: '/',
   configureWebpack: {
      plugins: [
         new PrerenderSPAPlugin({
            staticDir: path.join(__dirname, 'dist'),
            routes: [
               '/',
               '/about',
               '/contact'
            ]
         })
      ]
   }
}